package com.testing.class10.InterTest;

/**
 * @Classname Boss
 * @Description 类型说明
 * @Date 2021/5/7 21:18
 * @Created by 特斯汀Roy
 */
//接口需要用implements关键字来通过一个类进行实现
public class Boss implements Employer{
    @Override
    public void fenpeiJob() {
        System.out.println("老板每天就是给大家画饼分任务");
    }

    @Override
    public void earnMoney(int money) {
        System.out.println("老板用初始资金"+money+"赚到了"+money*3+"的钱");
    }
}
